import axios from 'axios'
import { baseURL } from '../configFile'

const axiosReq = axios.create({
    baseURL
})

//获取页脚
export const footerReq = () => {
    return axiosReq.get('/queryFooter')
}

//修改页脚
export const modifyFooterReq = (footerInfo: string) => {
    return axiosReq.post('/modifyFooter', {'footer':footerInfo})
}
